From: Florian Müllner Date: Mon, 19 Apr 2021 14:01:19 +0000 (+0200) Subject: audioDeviceSelection: Ensure close() is called with no arguments X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~55 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7eba5322b51969c0fe456e2d737423094afccbb7;p=gnome-shell.git audioDeviceSelection: Ensure close() is called with no arguments This is the same as commit c5b18ee66a, but for the audio device selection dialog. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4139 Part-of: --- diff --git a/js/ui/audioDeviceSelection.js b/js/ui/audioDeviceSelection.js index abd8efaae..8660663f9 100644 --- a/js/ui/audioDeviceSelection.js +++ b/js/ui/audioDeviceSelection.js @@ -57,7 +57,7 @@ var AudioDeviceSelectionDialog = GObject.registerClass({ }); } this.addButton({ - action: this.close.bind(this), + action: () => this.close(), label: _('Cancel'), key: Clutter.KEY_Escape, });